#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int calculate(int a, int b, char c)
{
	if (c == '+')
	{
		return a + b;
	}
	if (c == '-')
	{
		return a - b;
	}
	if (c == '*')
	{
		return a * b;
	}
	if (c == '/')
	{
		return a / b;
	}
	if (c == '%')
	{
		return a % b;
	}
}
int main()
{
	int a = 0, b = 0;
	char c = 0;
	scanf("%d %c %d", &a, &c, &b);
	int ret = calculate(a, b, c);
	printf("%d", ret);
	return 0;
}
